package com.hotel.app.service;

import com.hotel.app.config.OpenFeignConfig;
import com.hotel.common.param.UserRoomRate;
import com.hotel.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;


/**
 * --- 天道酬勤 ---
 *
 * @author TRC
 * @date 2024/6/22
 * @desc
 */
@FeignClient(value = "ht-room-server", configuration = OpenFeignConfig.class)
public interface HotelRoomRateFeign {

    @RequestMapping("/hotel/roomRate/show")
    public R showUserRoomRate(@RequestBody UserRoomRate userRoomRate);

    @RequestMapping("/hotel/roomRate/change")
    public R changeUserRoomRate(@RequestBody UserRoomRate userRoomRate);
}
